//==============================================================================
// Storehouse_anim.txt
//==============================================================================


import Construction_defines_anim.txt

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define rushSFX
{
   SetSelector
   {
		TechLogic none/Rush Active
		set hotspot
		{
			version
			{
			  Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
			  Visualparticle sfx a rush build small
			}
		}		    
   }
}

//==============================================================================
define rushSFX02
{
   SetSelector
   {
		TechLogic none/Rush Active
		set hotspot
		{
			version
			{
			  Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
			  Visualparticle sfx a rush spell small
			}
		}		    
   }
}

//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic none/age 2/age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge0
               connect Rightfoot VineA hotspot
               connect Rightear VineA hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
    //---------------------------Age 1--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building G Mining CampAge1
					connect Rightfoot VineA hotspot
					connect Rightear VineA hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
					connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
					connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
					connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
				}
			}
		}
    //---------------------------Age 2--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge2
               connect Rightfoot VineA hotspot
               connect Rightear VineA hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
    //---------------------------Age 3--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge3
               connect Rightfoot VineA hotspot
               connect Rightear VineA hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
   }
}
//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic none/age 2/age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge0_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
    //---------------------------Age 1--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building G Mining CampAge1_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
					connect hotspot rushSFX hotspot
				    connect hotspot rushSFX02 hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
					connect hotspot rushSFX hotspot
				    connect hotspot rushSFX02 hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
					connect hotspot rushSFX hotspot
				    connect hotspot rushSFX02 hotspot
				}
			}
		}
    //---------------------------Age 2--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge2_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
    //---------------------------Age 3--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge3_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				 connect hotspot rushSFX hotspot
				 connect hotspot rushSFX02 hotspot
            }
         }
      }
   }
}


